package znet

import "zinx-tianjing-study/ziface"

type Request struct {
	//链接
	coon ziface.IConnection
	//客户端请求的数据
	msg ziface.IMessage
}

func (r *Request) GetConnection() ziface.IConnection {

	return r.coon
}

func (r *Request) GetRequestData() []byte {
	return r.msg.GetData()
}

func (r *Request) GetMsgID() uint32 {
	return r.msg.GetMsgID()
}
